package com.h3c.nem.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: TbWorkerGrade
 *
 * @Author: l22886
 * @Date: 2022-02-23
 * Description: tb_worker_grade 实体
 * Version: 1.0
 */
@ApiModel(value="TbWorkerGrade对象", description="")
@Table(name = "tb_worker_grade")
public class TbWorkerGrade {


    @ApiModelProperty(value = "新员工工号")
    @Column(name = "worker_id")
    private String workerId;

    @ApiModelProperty(value = "新员工姓名")
    @Column(name = "worker_name")
    private String workerName;

    @ApiModelProperty(value = "流程ID")
    @Column(name = "flow_id")
    private String flowId;

    @ApiModelProperty(value = "月度考核周期名称")
    @Column(name = "score_month")
    private String scoreMonth;

    @ApiModelProperty(value = "月度考核最终成绩")
    @Column(name = "worker_grade")
    private String workerGrade;

    @ApiModelProperty(value = "最终评价说明")
    @Column(name = "worker_evaluate")
    private String workerEvaluate;

    @ApiModelProperty(value = "开始日期")
    @Column(name = "start_date")
    private Date startDate;

    @ApiModelProperty(value = "结束日期")
    @Column(name = "end_date")
    private Date endDate;

    @ApiModelProperty(value = "评价人工号")
    @Column(name = "evaluator_id")
    private String evaluatorId;

    @ApiModelProperty(value = "评价时间")
    @Column(name = "evaluate_time")
    private Date evaluateTime;

    public String getWorkerId() {
        return workerId;
    }

    public void setWorkerId(String workerId) {
        this.workerId = workerId;
    }

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public String getFlowId() {
        return flowId;
    }

    public void setFlowId(String flowId) {
        this.flowId = flowId;
    }

    public String getScoreMonth() {
        return scoreMonth;
    }

    public void setScoreMonth(String scoreMonth) {
        this.scoreMonth = scoreMonth;
    }

    public String getWorkerGrade() {
        return workerGrade;
    }

    public void setWorkerGrade(String workerGrade) {
        this.workerGrade = workerGrade;
    }

    public String getWorkerEvaluate() {
        return workerEvaluate;
    }

    public void setWorkerEvaluate(String workerEvaluate) {
        this.workerEvaluate = workerEvaluate;
    }

    public Date getStartDate() {
        return startDate;
    }
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getEvaluatorId() {
        return evaluatorId;
    }

    public void setEvaluatorId(String evaluatorId) {
        this.evaluatorId = evaluatorId;
    }

    public Date getEvaluateTime() {
        return evaluateTime;
    }
    public void setEvaluateTime(Date evaluateTime) {
        this.evaluateTime = evaluateTime;
    }

    @Override
    public String toString() {
        return "TbWorkerGrade{" +
                "workerId=" + workerId +
                ", flowId=" + flowId +
                ", workerName=" + workerName +
                ", scoreMonth=" + scoreMonth +
                ", workerGrade=" + workerGrade +
                ", workerEvaluate=" + workerEvaluate +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", evaluatorId=" + evaluatorId +
                ", evaluateTime=" + evaluateTime +
                "}";
    }
}
